package com.cloudkinto.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cloudkinto.entity.DicBusinessItemNewDo;
import com.cloudkinto.entity.OrderRepairDo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloudkinto.entity.OrderRepairSnDo;
import com.cloudkinto.extentity.orderrepair.OrderRepairPageDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hua
 * @since 2023-06-14
 */
@Mapper
public interface OrderRepairDao extends BaseMapper<OrderRepairDo> {
    IPage<OrderRepairPageDto> listPage(IPage<OrderRepairPageDto> page, @Param("map") Map<String, String> map);

    List<DicBusinessItemNewDo> getLabelItemList(Long id);

    List<OrderRepairSnDo> getRepairSnList(Long id);
}
